package com.biostime.qdingding.modules.qd.entity;

import java.util.Date;

import com.biostime.qdingding.common.persistence.DataEntity;

/**
 * 消息中心Entity
 * @author king
 * @version 2015-11-16
 */
public class Message extends DataEntity<Message> {

	private static final long serialVersionUID = 1L;
	
	private String category;// 分类
	private Integer objectId;// 消息关联对象编号
	private String title;// 消息标题
	private String message;// 消息体
	private Date sentTime;// 发送时间
	private Integer sentBy;// 发送者
	private String remarks;// 备注信息
	private int pushed;//是否推送
	private Date pushon;//推送时间
	private int readed;//是否已阅读
	private Date readon;//阅读时间
	
	private String userId; //消息推送对象
	private String pushMsg; //推送消息主体
	private String redirct; //消息跳转地址
	
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public Integer getObjectId() {
		return objectId;
	}
	public void setObjectId(Integer objectId) {
		this.objectId = objectId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Date getSentTime() {
		return sentTime;
	}
	public void setSentTime(Date sentTime) {
		this.sentTime = sentTime;
	}
	public Integer getSentBy() {
		return sentBy;
	}
	public void setSentBy(Integer sentBy) {
		this.sentBy = sentBy;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public int getPushed() {
		return pushed;
	}
	public void setPushed(int pushed) {
		this.pushed = pushed;
	}
	public Date getPushon() {
		return pushon;
	}
	public void setPushon(Date pushon) {
		this.pushon = pushon;
	}	
	public int getReaded() {
		return readed;
	}
	public void setReaded(int readed) {
		this.readed = readed;
	}
	public Date getReadon() {
		return readon;
	}
	public void setReadon(Date readon) {
		this.readon = readon;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getRedirct() {
		return redirct;
	}
	public void setRedirct(String redirct) {
		this.redirct = redirct;
	}
	public String getPushMsg() {
		return pushMsg;
	}
	public void setPushMsg(String pushMsg) {
		this.pushMsg = pushMsg;
	}

}